package com.zxl.grocerymicroservicewechatmeal.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zxl
 * @Description: 商品(包含类目)
 * @Date: Created in 22:05 2017/11/15
 * @Modified By:
 */
@Data
public class ProductVO implements Serializable{

    private static final long serialVersionUID = -4578845737661455609L;
    @JsonProperty("name")//返回前端该字段就是name了
    private String categoryName;

    @JsonProperty("type")
    private Integer categoryType;

    @JsonProperty("foods")
    private List<ProductInfoVO> productInfoVOList;
}
